package token;

/**
 * Node for a linked list of Binary Trees
 * @author Justin
 *
 */
public class BTreeNode{
	BTreeNode next;
	BTree head;
	public BTreeNode(String s){
		head = new BTree(s);
		next = null;
	}
	public void setNext(BTreeNode next){
		this.next = next;
	}
	public BTreeNode getNext(){
		return next;
	}
	public BTree getTree(){
		return head;
	}
}
